package com.healthtop.service.impl;

import com.healthtop.dao.XsImgDao;
import com.healthtop.model.XsImg;
import com.healthtop.service.XsImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class XsImgServiceImpl implements XsImgService {

    @Autowired
    private XsImgDao xsImgDao;

    @Override
    public XsImg selectImgById(Long id) {
        return xsImgDao.selectImgById(id);
    }

    @Override
    public void insert(XsImg xsImg) {
      xsImgDao.insert(xsImg);
    }
}
